package com.mes.entity.cb;

/**
 * 分页Model类
 * @author 
 *
 */
public class PageBean {

	public final static int PAGE_SHOW_COUNT = 10;
	
	private int page  = 0; // 第几页
	private int pageSize  = 10; // 每页记录数
	private int total = 0;  // 总数
	
	private int start;  // 起始页
	
	/**
	 * 物料名称
	 */
	private String name;
	
	/**
	 * 物料型号
	 */
	private String materialmodel;
	
	/**
	 * 计划单号
	 */
     
	private String planNumber;
	private String starPrdate;
	private String endPrdate;
	private Long id;
	
	/**
	 * id
	 */
	private long rid;
	
	
	
	public long getRid() {
		return rid;
	}
	public void setRid(long rid) {
		this.rid = rid;
	}
	public String getNumber() {
		return number;
	}
	public void setNumber(String number) {
		this.number = number;
	}
	public String getAtartTime() {
		return atartTime;
	}
	public void setAtartTime(String atartTime) {
		this.atartTime = atartTime;
	}
	public String getEndTime() {
		return endTime;
	}
	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}
	public String getSupper() {
		return supper;
	}
	public void setSupper(String supper) {
		this.supper = supper;
	}
	public void setStart(int start) {
		this.start = start;
	}
	/**
	 * 订单编号
	 */
	private String number;
	
	/**
	 * 开始时间
	 */
	private String atartTime;
	
	/**
	 * 结束时间
	 */
	private String endTime;
	
	/**
	 * 供应商
	 */
	private String supper;
	
	public String getStarPrdate() {
		return starPrdate;
	}
	public void setStarPrdate(String starPrdate) {
		this.starPrdate = starPrdate;
	}
	public String getEndPrdate() {
		return endPrdate;
	}
	public void setEndPrdate(String endPrdate) {
		this.endPrdate = endPrdate;
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getPlanNumber() {
		return planNumber;
	}
	public void setPlanNumber(String planNumber) {
		this.planNumber = planNumber;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getMaterialmodel() {
		return materialmodel;
	}
	public void setMaterialmodel(String materialmodel) {
		this.materialmodel = materialmodel;
	}
	public int getPage() {
		return page;
	}
	public void setPage(int page) {
		this.page = page;
	}
	public int getPageSize() {
		return pageSize > 0 ? pageSize : PAGE_SHOW_COUNT;
	}
	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}
	public int getTotal() {
		return total;
	}
	public void setTotal(int total) {
		this.total = total;
	}
	public int getStart() {
		return (page-1)*pageSize;
	}
	
	 /**是否在采购订单中被选择*/
    private String remark14;
    public String getRemark14() {
        return remark14;
    }

    public void setRemark14(String remark14) {
        this.remark14 = remark14 == null ? null : remark14.trim();
    }

}
